<extend name="Public/base" />

<block name="body">
	<!-- 标题栏 -->
	<div class="am-cf am-u-md-12 header-title">
		<h2>用户详情</h2>
	</div>

	<div class="am-g am-cf am-margin-top am-margin-bottom">
		<div class="am-u-md-12">
			<div class="am-tabs" data-am-tabs="{noSwipe: 1}" id="doc-tab-demo-1">
				<ul class="am-tabs-nav am-nav am-nav-tabs">
					<li class="am-active"><a href="javascript: void(0)">基础资料</a></li>
					<volist name="_tab" id="item">
					<li><a href="javascript: void(0)">{$item['profile_name']}</a></li>
					</volist>
				</ul>

				<div class="am-tabs-bd">
					<div class="am-tab-panel am-active">
						<div class="am-form am-form-horizontal form_base">
							<div class="am-form-group">
								<label class="am-u-md-3 am-form-label">昵称：</label>
								<div class="am-u-md-9">
									<div class="am-form-block">{$data['nickname']}</div>
								</div>
							</div>
							<div class="am-form-group">
								<label class="am-u-md-3 am-form-label">性别：</label>
								<div class="am-u-md-9">
									<div class="am-form-block">
									<switch name="data['sex']">
										<case value="0">保密</case>
										<case value="1">男</case>
										<case value="2">女</case>
									</switch>
									</div>
								</div>
							</div>
							<div class="am-form-group">
								<label class="am-u-md-3 am-form-label">生日：</label>
								<div class="am-u-md-9">
									<div class="am-form-block">{$data['birthday']}</div>
								</div>
							</div>
							<div class="am-form-group">
								<label class="am-u-md-3 am-form-label">所在地：</label>
								<div class="am-u-md-9">
									{:hook('J_China_City', array('province'=>$data['pos_province'], 'city'=>$data['pos_city'], 'district'=>$data['pos_district'], 'community'=>$data['pos_community']))}
								</div>
							</div>
							<div class="am-form-group">
								<label class="am-u-md-3 am-form-label">QQ：</label>
								<div class="am-u-md-9">
									<div class="am-form-block">{$data['qq']}</div>
								</div>
							</div>
							<div class="am-form-group">
								<label class="am-u-md-3 am-form-label">签名：</label>
								<div class="am-u-md-9">
									<div class="am-form-block">{$data['signature']}</div>
								</div>
							</div>
						</div>
					</div>
					<volist name="_tab" id="item">
					<div class="am-tab-panel">
					<volist name="fields[$item['id']]" id="vo">
					<div class="am-form-group">
						<label class="am-u-md-3 am-form-label">{$vo['title']}：</label>
						<div class="am-u-md-9">
							<div class="am-form-block">{$data[$vo['name']]}</div>
						</div>
					</div>
					</volist>
					</div>
					</volist>
				</div>
			</div>
		</div>
	</div>
</block>